package com.wx.Ctroller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class StudentController {

    @RequestMapping("/test")
    public Student getStudent(){
        Student student = new Student();
        student.setId(11);
        student.setName("第一次测试");
        student.setSex("不知道");
        return student;
    }
}
